package app.system.service;

import app.system.entity.SysSinger;
import app.system.mapper.SysSingerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysSingerServiceImpl implements SysSingerService {
    @Autowired
    private SysSingerMapper sysSingerMapper;
    @Override
    public int saveSinger(SysSinger sysSinger) {
        return sysSingerMapper.saveSinger(sysSinger);
    }

    @Override
    public List<SysSinger> selectSingerByTage(SysSinger sysSinger) {
        return sysSingerMapper.selectSingerByTage(sysSinger);
    }

    @Override
    public List<SysSinger> getSingerAll() {
        return sysSingerMapper.getSingerAll();
    }

    @Override
    public List<SysSinger> selectSingerByLike(String singerName) {
        return sysSingerMapper.selectSingerByLike(singerName);
    }
}
